/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.msk.wlhy.mapper;


import com.msk.sys.domain.AreaData;
import com.msk.sys.mapper.TreeDao;
import com.msk.wlhy.domain.Area;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author llh
 * @date 2023/6/5
 * @return 
 * @description 区域DAO      
 */
@Repository
public interface AreaDao {
	/**
	 * 获取省市区
	 * @return
	 */
	public List<AreaData> findAreaList();
	public List<AreaData> findAreaListSq();
	public List<AreaData> findAreaListQx();
	/**
	 * @description 通过名称获取区域
	 * @date 2018-6-13
	 * @author chuming
	 * @param area
	 * @return 
	 */
	public Area findEntityByAreaNames(Area area);
	
	
	
	public Area findEntityByArea(Area area);
	
	
	public List<Area> findListByParentId(Area area);
	/**
	 * @description getEntityByCode
	 * @date 2018-6-25
	 * @author chuming
	 * @param code
	 * @return
	 */
	public Area getEntityByCode(String code);

	/**
	 * 查询所有数据列表
	 * @param area
	 * @return
	 */
	public List findAllList(Area area);
	
	/**
	 * @author llh
	 * @date 2023/6/6
	 * @return com.msk.wlhy.domain.Area
	 * @description 根据ID查询地区信息      
	 */
	public Area getById(String id);
}
